package com.ruoyi.project.modules.processBranchCondition.mapper;

import java.util.List;
import com.ruoyi.project.modules.processBranchCondition.domain.ProcessBranchCondition;
import org.apache.ibatis.annotations.Param;

/**
 * 分支条件Mapper接口
 * 
 * @author smallrain
 * @date 2022-04-02
 */
public interface ProcessBranchConditionMapper 
{
    /**
     * 查询分支条件
     * 
     * @param branchConditionId 分支条件主键
     * @return 分支条件
     */
    public ProcessBranchCondition selectProcessBranchConditionByBranchConditionId(Long branchConditionId);

    /**
     * 查询分支条件列表
     * 
     * @param processBranchCondition 分支条件
     * @return 分支条件集合
     */
    public List<ProcessBranchCondition> selectProcessBranchConditionList(ProcessBranchCondition processBranchCondition);

    /**
     * 新增分支条件
     * 
     * @param processBranchCondition 分支条件
     * @return 结果
     */
    public int insertProcessBranchCondition(ProcessBranchCondition processBranchCondition);

    /**
     * 修改分支条件
     * 
     * @param processBranchCondition 分支条件
     * @return 结果
     */
    public int updateProcessBranchCondition(ProcessBranchCondition processBranchCondition);

    /**
     * 删除分支条件
     * 
     * @param branchConditionId 分支条件主键
     * @return 结果
     */
    public int deleteProcessBranchConditionByBranchConditionId(Long branchConditionId);

    /**
     * 批量删除分支条件
     * 
     * @param branchConditionIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteProcessBranchConditionByBranchConditionIds(String[] branchConditionIds);

    void batchDeleteByProcessBranchIds(@Param("processBranchIds") List<Long> processBranchIds);
}
